<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class AdminUsersSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admin_users')->insert([
            'user_name' => "admin",
            'nick_name' => "admin",
            'email' => 'admin@gmail.com',
            'is_admin' => 1,
            'photo_url' => '/assets/admin/img/defaultheader.jpg',
            'password' => md5('123456'),
        ]);
    }
}
